projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5146890
)
configure: make missing prototypes an error always
author
Colin Walters
<walters@verbum.org>
Fri, 21 Oct 2011 15:27:40 +0000
(11:27 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 21 Oct 2011 15:27:40 +0000
(11:27 -0400)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index f817b192b51a4ccf81737af7a9008fa3a63d148c..c1e5eb5362af11ad1d8f172d9a639de83a3c7722 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-18,8
+18,8
@@
if test "x$GCC" = "xyes"; then
*) CFLAGS="$CFLAGS -Wall" ;;
esac
case " $CFLAGS " in
- *[\ \ ]-W
missing-prototypes[\ \
]*) ;;
- *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
+ *[\ \ ]-W
error=missing-prototypes[\ \
]*) ;;
+ *) CFLAGS="$CFLAGS -W
error=
missing-prototypes" ;;
esac
fi
changequote([,])dnl